package cn.oa.desktop.newlabel.beans;
/*新闻管理-->栏目管理
DROP TABLE IF EXISTS `newlabel`;
CREATE TABLE `newlabel` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `label_name` varchar(20) DEFAULT NULL,
  `label_content` varchar(100) DEFAULT NULL,
  `pid` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;

*/
public class NewLabel {
    private Integer ID;
    private String label_name;
    private String label_content;
    private int pid;
    private NewLabel newLabels;


    @Override
    public String toString() {
        return "NewLabel{" +
                "ID=" + ID +
                ", label_name='" + label_name + '\'' +
                ", label_content='" + label_content + '\'' +
                ", pid=" + pid +
                ", newLabels=" + newLabels +
                '}';
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getLabel_name() {
        return label_name;
    }

    public void setLabel_name(String label_name) {
        this.label_name = label_name;
    }

    public String getLabel_content() {
        return label_content;
    }

    public void setLabel_content(String label_content) {
        this.label_content = label_content;
    }

    public NewLabel getNewLabels() {
        return newLabels;
    }

    public void setNewLabels(NewLabel newLabels) {
        this.newLabels = newLabels;
    }
}
